package module02.task03;

public abstract class Plan {
    private int price;

    public Plan(){
    }

    public Plan(int price){
        setPrice(price);
    }



    // 设置资费
    public void setPrice(int price) {
        this.price = price;
    }

    // 获取资费
    public int getPrice() {
        return price;
    }


    // 打印套餐信息
    public abstract void show();
}
